Real User Monitoring
RUM JavaScript is a lightweight, asynchronous script that captures real-time performance metrics directly from your users' browsers, without impacting your page load speed.
Overview
RUM (Real User Monitoring) improves the performance monitoring of your service, compared to synthetics monitoring:
- RUM provides higher geographical granularity - information is collected at the network level (ASN), rather than country level
- RUM provides higher number of samples - information is collected from all (or some portion of) your users, rather than once a minute
To operate correctly, add the RUM JavaScript snippet to your application HTML pages.
Setup
First, find the UID for you service:
- Click your service in the Services page to open the side-panel
- Find the CNAME of your service - for example:
i0yb70o1u00.ztjp510w7v.ioriveredge.net - The UID is the leading portion - in the above example that's
i0yb70o1u00
Next, add the following JS snippet to the <Head> of the HTML pages of your application
- Replace the value of
data-run-servicewith the UID above
<script
async
src="https://rum-collector.ioriverstaging.io/rum.js"
data-rum-service="i0yb70o1u00"
/>